//
//  XDCameraViewController.h
//  Measure
//
//  Created by xieyajie on 14-3-5.
//  Copyright (c) 2014年 XDIOS. All rights reserved.
//

#import "DBCameraViewController.h"

#import "DBCameraDelegate.h"

@class XDCameraView;
@interface XDCameraViewController : UIViewController

@property (nonatomic, weak) id <DBCameraViewControllerDelegate> delegate;
@property (nonatomic, assign) BOOL useCameraSegue;
@property (nonatomic, strong) XDCameraView *cameraView;

+ (DBCameraViewController *) initWithDelegate:(id<DBCameraViewControllerDelegate>)delegate;
+ (DBCameraViewController *) init;

- (id) initWithDelegate:(id<DBCameraViewControllerDelegate>)delegate cameraView:(id)camera;

@end
